#include <iostream>
#include <complex>
using namespace std;

int main()
{
    int a, b;
    int c, d;
    cout<< "Vvedi Re x: ";
    cin>> a;
    cout<< "Vvedi Jm x: ";
    cin>> b;

    cout<< "Vvedi Re y: ";
    cin>> c;
    cout<< "Vvedi Jm y: ";
    cin>> d;

 complex<double> x(a, b);
 complex<double> y(c, d);

 cout<< "x = " << x << endl;
 cout<< "y = " << y << endl;

complex<double> z = x - y;

cout << "z = " << z << endl;

return 0;
}
